void npc(Player @player, NPC @npc) {
   int state = npc.getState();
   if(state == 0){
	   if(player.getItemAmount(4001019) == 0){
		   npc.addText("There's a #bOrbis Magic Spot#k that'll enable you to teleport to where #bEl Nath Magic Spot#k is, but you can't activate it without the scroll.");
		   npc.sendOK();
		   npc.end();
	   }
	   else{
		   npc.addText("You can use #bOrbis Rock Scroll#k to activate #bOrbis Magic Spot#k. Will you teleport to where #bEl Nath Magic Spot#k is?");
		   npc.sendYesNo();
	   }
   }
   if(state == 1){
	   if(npc.getSelected() == YES){
		   player.giveItem(4001019, -1);
		   player.changeMap(200082100);
	    }
		npc.end();
    }
}